
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html class="fb-ui" fb-ui="context" fb-context="context">
<head>
    <title>同步表向导-新增页</title>
    <%@include file="/WEB-INF/jsp/common/meta.jsp" %>
    <link href="<%=contextPath%>/resource/fb-classic/css/save/save.min.css" rel="stylesheet"/>
</head>
<body>
<div class="ui-save">
    <div class="ui-save-form">
        <form id="J_form"
              fb-ui="formhelper"
              fb-validator="true"
              fb-validator-option="{theme:'yellow_top'}">

            <div class="ui-fieldset">
            <div class="ui-fields-legend">
            <span>连接名称信息</span>
            </div>
            <div class="ui-fields-container">
                <table style="table-layout: fixed;">
                    <colgroup>
                        <col style="width: 15%"/>
                        <col style="width: 85%"/>
                    </colgroup>

                    <tr>
                        <th>源连接名称：<img src="<%=contextPath%>/resource/fb-classic/img/menu/require.png"></th>
                        <td>
                            <input name="connName"
                                   fb-width="100%"
                                   fb-url="<%=contextPath%>/etl/etldatasourcecfg/search"
                                   fb-options='{data: { key: {name: "connName", title: "name"},simpleData: {idKey: "id"}}}'
                                   fb-rule="required;length[~20, true];"
                                   fb-ui="selecter"/>
                        </td>
                    </tr>
                    <tr>
                        <th>目的连接名称：<img src="<%=contextPath%>/resource/fb-classic/img/menu/require.png"></th>
                        <td>
                            <input name="connName1"
                                   fb-width="100%"
                                   fb-url="<%=contextPath%>/etl/etldatasourcecfg/search"
                                   fb-options='{data: { key: {name: "connName", title: "name"},simpleData: {idKey: "id"}}}'
                                   fb-rule="required;length[~20, true];"
                                   fb-ui="selecter"/>
                        </td>
                    </tr>
                    <tr>
                        <th>保存路径：<img src="<%=contextPath%>/resource/fb-classic/img/menu/require.png"></th>
                        <td>
                            <input name="savePath"
                                   fb-width="100%"
                                   fb-rule="required;length[~100, true];"
                                   fb-ui="textfield"/>
                        </td>
                    </tr>
                </table>
            </div>
            </div>
        </form>
    </div>
</div>
<%@include file="/WEB-INF/jsp/common/fb.jsp" %>
<script>
    fb.app("etl.etlcustomsynctablecfg.EtlCustomSynctablecfgApp", function () {
        Firebird.create("etlcustomsynctablecfg.SaveApp");
    });
</script>
</body>
</html>
